package vm;

import java.util.ArrayList;
import java.util.List;

public class App {
    private int[] arr = new int[1024 * 1000];

    public int add() {
        int a = 1;
        int b = 2;
        return (a + b) * 100;
    }

    public static void main(String[] args) {
        List<App> list =new ArrayList<>();
        while (true) {
            list.add(new App());
            try {
                Thread.sleep(500);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
